-
Notifications
You must be signed in to change notification settings - Fork 32
✨ [Frontend] Search Templates and Search Public Projects #8013
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ [Frontend] Search Templates and Search Public Projects #8013
Conversation
…-simcore into feature/search-templates
|
@mergify queue |
🟠 Waiting for conditions to match
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds search functionality for templates and public projects, standardizes template fetching methods, and extends the study browser to support new search contexts.
- Introduces
searchTemplatesPaginatedand consolidates template fetching viafetchTemplatesPaginated - Extends the store and UI to handle three new contexts:
searchProjects,searchTemplates, andsearchPublicTemplates - Adjusts the resource container manager and filters to display context-appropriate “no resources” labels
Reviewed Changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| ColorLight.js | Removed a stray “OM here” comment |
| Templates.js | Renamed private fetch, added searchTemplatesPaginated |
| Store.js | Updated check list with new context keys |
| StudyLarge.js | Removed length limit from description markdown |
| ServiceUtils.js | Added “No description” fallback |
| Resources.js | Reordered query params and added search endpoint |
| WorkspaceButtonItem.js | Updated context check to use searchProjects |
| TutorialBrowser.js | Removed manual no‐resources label call |
| StudyBrowserHeader.js | Mapped new context keys to icons and titles |
| StudyBrowser.js | Overhauled context handling to include search contexts |
| ResourceContainerManager.js | Renamed evaluate method and switched label logic to __resourceType |
| ResourceBrowserFilter.js | Renamed “public” events to “publicTemplates” |
| FolderButtonItem.js | Updated context checks for rename and open-location in search view |
| ContextBreadcrumbs.js | Changed breadcrumb rendering condition |
| AppBrowser.js | Removed manual no‐resources label call |
Comments suppressed due to low confidence (1)
services/static-webserver/client/source/class/osparc/store/Templates.js:38
- New method
searchTemplatesPaginatedand its integration with the backend endpoint should have dedicated unit or integration tests to verify correct pagination, filtering, andresourceTypeassignment.
searchTemplatesPaginated: function(params, options) {
services/static-webserver/client/source/class/osparc/dashboard/ResourceContainerManager.js
Outdated
Show resolved
Hide resolved
…-simcore into feature/search-templates
…-simcore into feature/search-templates
|
matusdrobuliak66
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I like the improvement of showing the search context.
|
@mergify queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 19a64fb |
pcrespov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉



What do these changes do?
This PR implement the Search of Templates and Search of Public Projects.
Related issue/s
How to test
Dev-ops